package com.xiaohai.service;

import com.xiaohai.projo.Admin;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.transaction.annotation.Transactional;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xiaohai
 * @since 2024-04-01
 */
@Transactional
public interface AdminService extends IService<Admin> {

    /**
     * 跟新密码
     * @param account
     * @param newPassword
     * @return
     */
    boolean updatePasswordByAccount(String account, String newPassword);
}
